package com.chenke.subject.domain.service;

import com.chenke.subject.domain.entity.SubjectCategoryBO;
import com.chenke.subject.infra.basic.entity.SubjectCategory;

import java.util.List;

/**
 * 题目分类(SubjectCategory)表服务接口
 *
 * @author makejava
 * @since 2024-07-09 14:07:11
 */
public interface SubjectCategoryDomainService {

    /**
     * 新增分类
     */
    void add(SubjectCategoryBO subjectCategoryBO);


    List<SubjectCategoryBO> queryCategory(SubjectCategoryBO subjectCategoryBO);

    boolean update(SubjectCategoryBO subjectCategoryBO);

    boolean delete(SubjectCategoryBO subjectCategoryBO);

    /**
     * 查询分类及标签
     */
    List<SubjectCategoryBO> queryCategoryAndLabel(SubjectCategoryBO subjectCategoryBO);
}
